package micro86.operation;

import micro86.engine.Memory;
import micro86.engine.State;
import micro86.engine.parametres.QuotedString;

/**
 * (c) Kate Luzhevskaya 2013
 */
public class PrintQuotedString implements IOperation{
    QuotedString qstr;

    public PrintQuotedString(QuotedString string){
        this.qstr = string;
    }

    @Override
    public void execute(State state, Memory memory) {
        System.out.print(qstr.get());
    }
}
